<?php

namespace app\demo\controller;


use app\BaseController;
use think\exception\HttpException;

class E extends BaseController
{
    public function index()
    {
        // echo  $ddd
        throw new HttpException(400, "找不到数据");
    }

    public function abc()
    {
        dump($this->request->type);
    }
}